// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue' //引入vue模块
import App from './App' //引入组件
import router from './router' //引入路由配置文件
import Mock from './mock';
import store from './vuex/store'; //引入vuex实例
Mock.start();




Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app', //挂载id，
    router, //注入路由配置
    store, //注入store仓库
    components: { App }, //注入组件
    template: '<App/>' //配置跟模板 
})